package com.dayuanit.dy17.atm.atmbackoffice.service;

import com.dayuanit.dy17.atm.atmbackoffice.entity.Role;

import java.util.List;

public interface IRoleService {

    void createRole(String roleKey, String roleValue);

    void addUserRefRole(String username, Long[] roleIds);

    List<Role> loadRoles();

    List<Role> loadRoles(Long userId);
}
